﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BW.WMS.WareHouseManage.Dtos
{
    /// <summary>
    /// 批量删除结果DTO
    /// </summary>
    public class BatchDeleteResultDto
    {
        /// <summary>
        /// 成功删除的数量
        /// </summary>
        public int SuccessCount { get; set; }

        /// <summary>
        /// 失败的数量
        /// </summary>
        public int FailedCount { get; set; }

        /// <summary>
        /// 失败项的详细信息
        /// </summary>
        public List<BatchDeleteErrorItem> Errors { get; set; } = new List<BatchDeleteErrorItem>();
    }

    /// <summary>
    /// 批量删除错误项
    /// </summary>
    public class BatchDeleteErrorItem
    {
        /// <summary>
        /// 仓库ID
        /// </summary>
        public Guid Id { get; set; }

        /// <summary>
        /// 错误消息
        /// </summary>
        public string Error { get; set; }
    }
}
